package com.aliyun.messagemgt.domain.repository;

import com.aliyun.messagemgt.dto.ChannelNo;
import com.aliyun.messagemgt.dto.query.ChannelNoQuery;
import com.github.pagehelper.Page;
import org.springframework.dao.DataAccessException;

import java.util.List;

/**
 * @Description
 * @Author hzw
 * @Date 2020/12/22 16:57
 * @Version 1.0
 */
public interface ChannelNoRepository {
    Page<ChannelNo> listChannelNoByRole(ChannelNoQuery channelNoQuery);

    int delChannelNo(ChannelNoQuery channelNoQuery);

    int hiddenChannelNo(ChannelNoQuery channelNoQuery);

    int modChannelNo(ChannelNo channelNo);

    ChannelNo detailChannelNo(ChannelNoQuery channelNo);

    int insertUserInfoList( List list) throws DataAccessException;
}
